<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>CommonResult</title>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/google-code-prettify@1.0.5/bin/prettify.min.css">
    <link href="../style.css" rel="stylesheet"/>
</head>
<body onload="PR.prettyPrint()">
<pre class="prettyprint lang-java">
public class CommonResult implements Serializable{

    private Meta meta; //
    private WeChatUserInfo message; //

    public Meta getMeta(){
        return meta;
    }

    public void setMeta(Meta meta){
        this.meta = meta;
    }

    public WeChatUserInfo getMessage(){
        return message;
    }

    public void setMessage(WeChatUserInfo message){
        this.message = message;
    }

}
</pre>


<pre class="prettyprint lang-java">
public class Meta implements Serializable{

    private int code; //状态码
    private String msg; //状态消息

    public int getCode(){
        return code;
    }

    public void setCode(int code){
        this.code = code;
    }

    public String getMsg(){
        return msg;
    }

    public void setMsg(String msg){
        this.msg = msg;
    }

}
</pre>


<pre class="prettyprint lang-java">
public class WeChatUserInfo implements Serializable{

    private String openId; //
    private String nickName; //
    private String gender; //
    private String language; //
    private String city; //
    private String province; //
    private String country; //
    private String avatarUrl; //
    private String token; //登录会话数据(jwt格式)

    public String getOpenId(){
        return openId;
    }

    public void setOpenId(String openId){
        this.openId = openId;
    }

    public String getNickName(){
        return nickName;
    }

    public void setNickName(String nickName){
        this.nickName = nickName;
    }

    public String getGender(){
        return gender;
    }

    public void setGender(String gender){
        this.gender = gender;
    }

    public String getLanguage(){
        return language;
    }

    public void setLanguage(String language){
        this.language = language;
    }

    public String getCity(){
        return city;
    }

    public void setCity(String city){
        this.city = city;
    }

    public String getProvince(){
        return province;
    }

    public void setProvince(String province){
        this.province = province;
    }

    public String getCountry(){
        return country;
    }

    public void setCountry(String country){
        this.country = country;
    }

    public String getAvatarUrl(){
        return avatarUrl;
    }

    public void setAvatarUrl(String avatarUrl){
        this.avatarUrl = avatarUrl;
    }

    public String getToken(){
        return token;
    }

    public void setToken(String token){
        this.token = token;
    }

}
</pre>


<script src="https://cdn.jsdelivr.net/npm/google-code-prettify@1.0.5/bin/prettify.min.js"></script>
</body>
</html>